
var data = require("./json/data.json");

console.log(data);

//RETURN THE COMPLETE NAME FROM A RESPONSIBLE ID
var getName = function(id) {
	for(var i = 0; i < data.items.length; i++) {
		if(id == data.items[i].id) {
			var name = data.items[i].first_name + " " + data.items[i].last_name;
		}
	};
	return name;
}
